home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13458 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: cobia.gulf.net!usenet
  2. From: brhjrh@gulf.net (Bryan Halsey)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: complex numbers header
  5. Date: Sat, 06 Apr 1996 23:24:32 -0600 (CST)
  6. Organization: The Gulf Coast Internet Company
  7. Message-ID: <4k7hig$q9f@cobia.gulf.net>
  8. References: <4k4udt$4s3@cobia.gulf.net> <4k5roi$bgm@sparcserver.lrz-muenchen.de>
  9. NNTP-Posting-Host: ppp53.pcola.gulf.net
  10. X-Newsreader: Forte Free Agent v0.38
  11.  
  12. watzka@stat.uni-muenchen.de (Kurt Watzka) wrote:
  13.  
  14. >brhjrh@gulf.net (Bryan Halsey) writes:
  15.  
  16. >>Where can I am find an include header file for complex numbers for C?
  17. >>Does such a thing exist?
  18.  
  19. >Once you have it, what are you going to do with it without the matching
  20. >library or objects? Should it be a "macro" based implementation? Since
  21. >this limits the scope to basic arithmetic, it should not be too 
  22. >difficult to "roll your own".
  23.  
  24. >BTW, complex numbers and matrices _are_ entitys that can be treated 
  25. >in C++ in a user friendly way, so if you work with these a lot, C++
  26. >might be an interesting language for you. There even is a header 
  27. ><complex> in the current draft standard, and the draft standard library
  28. >supports it.
  29.  
  30. >Kurt
  31. >--
  32. >| Kurt Watzka                             Phone : +49-89-2180-6254
  33. >| watzka@stat.uni-muenchen.de
  34.  
  35.  
  36. Thank you.  We probably need to look at C++.  The real problem is our
  37. engineering department does not want to switch from teaching Fortran
  38. to teaching C because they say C does not have the capability of
  39. handling complex numbers and matrices (as you mentioned) like Fortran
  40. can.  The C package does not matter at this point, and the platform
  41. can be Windows3.1, Dos, Mac, Vax, or Linux.  Thanks for your help.
  42.  
  43. Bryan Halsey
  44.  
  45.